package com.funo.logic.model.logicflow;

import com.funo.logic.model.IdEntity;

/**
 * 节点对象
 * @since 2024年7月23日14:50:30
 * @author cms
 */
public class FlowNode extends IdEntity {
    private static final long serialVersionUID = 3470960904188135453L;

    /**
     * 节点类型
     */
    private String type;
    /**
     * X坐标
     */
    private Integer x;
    /**
     * Y坐标
     */
    private Integer y;

    /**
     * 节点
     */
    private NodeProperties properties;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }

    public NodeProperties getProperties() {
        return properties;
    }

    public void setProperties(NodeProperties properties) {
        this.properties = properties;
    }
}
